## Wireless Telephony Applications (WTA)

Wireless Telephony Applications (WTA) are those applications designed to interact with the telephony-related functions present in a phone. These applications can include:

- Originating a call
- Adding, searching, and removing Contacts entries
- Sending and receiving Short Text messages
- Examining call logs, including calls made, received, or missed
- Sending DTMF tones during an active voice call
- Pushing content to the Prompt Line

The Web browser supports only those WTA functions that are available from WML using URIs.

The Web browser supports the WTAI application “click to dial” any link on the screen. A telephone handset icon displays to the left of a “click to dial” link when the link first displays.

The Add to Phonebook WTAI function “wtai://wp/ap;” adds a name and number to the telephone Contacts application. A Contacts icon displays to the left of an “add to phonebook” link. The wtai syntax is supported as an href attribute. As such, any tags supporting the href attribute can use the “add to Contacts” function. These tags are <a>, <anchor>, <img>, <do>, <onevent>, <select>, <option>, and <optgroup>.

When a user activates the Add to Phonebook function, the Web browser transfers the name and number to the Contacts application. The user can edit the entry according to the current Contacts application functionality.

The WTAI URI scheme is as follows:

wtai://<library>/<function> (; <parameter>)* [! <result>]

Scheme Definition:
< > | Indicates an enumerated operator.
--- | ---
[ ] | Indicates an optional section.
I | Indicates a pair of mutually exclusive options.
( )* | Repeat none or multiple items.
*( ) | Repeat one or multiple items.
library | Name that identifies the library type, WTA Public uses library “wp.”
function | Function within a library, for example, “mc” for function “make call” in “wp” library.
parameter | Zero or more parameters sent to a function. Delineated by a semicolon “;”.
result | Start of result defined by “!”. Optional.